package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NursingLevelMapper {
    Page<NursingLevel> getBypage(String name, Integer status);

    List<NursingLevel> getByAll();

    void insert(NursingLevel nursingLevel);

    NursingLevel getById(Long id);

    void update(NursingLevel nursingLevel);

    void delete(Long id);

    void enableOrDisable(Long id, Integer status);
}
